/**
 * Created by 000188 on 2016/6/27.
 */
import React from 'react';
let Content = require('content');
let RuleScene = require('rule');

let Rule = React.createClass({
    render(){
        var img = require('../../../images/rule.png');
        return <div className="rule" onClick={this.toScene}>
            <span>活动规则</span>
            <img width="8%" src={img}/>
        </div>
    },
    toScene(){
        Content.render(<RuleScene/>)
    }
})

module.exports = Rule;

